package com.evostar.model;

public enum EntityType {
    ENTITY_QUESTION(1,"QUESTION"),//跟问题做互动
    ENTITY_ANSWER(2,"ANSWER"),//跟回答的互动
    ENTITY_COMMENT(3,"COMMENT")//更评论互动
    ;

    EntityType(int type, String key) {
        this.type = type;
        this.key = key;
    }

    int type;
    String key;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
